package cn.itsource.org.mapper;

import cn.itsource.org.domain.Logininfo;
import cn.itsource.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hhm
 * @since 2023-03-27
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

   Logininfo loadByUserName(@Param("userName") String userName,@Param("type") Integer type);

    Logininfo loadByUserId(Long userId);
}
